const isProd = process.env.NODE_ENV === 'production'

let API_HEADER = 'http://localhost:3000'
// let API_HEADER = 'http://121.40.106.140:3000'
export default {
   API_HEADER:API_HEADER,
   apiArticle:API_HEADER+'/api/article',
   apiArticleCate:API_HEADER+'/api/cates',
   userLogin:API_HEADER+'/user/login',
   userReguser:API_HEADER+'/user/reguser',
   getUserList:API_HEADER+'/my/user',
   getArticleCate:API_HEADER+'/my/cates',
   addArticleCate:API_HEADER+'/my/addcates',
   modifyArticleCate:API_HEADER+'/my/updatecate',
   deleteArticleCate:API_HEADER+'/my/deletecate',
   getArticle:API_HEADER+'/my/article',
   addArticle:API_HEADER+'/my/addarticle',
   modifyArticle:API_HEADER+'/my/updatearticle',
   deleteArticle:API_HEADER+'/my/deletearticle',
   uploads:API_HEADER+'/my/uploads', //file:article(文章图片),articleCate(文章分类图片)
   deleteUploads:API_HEADER+'/my/deleteUploads', //file:article(文章图片),articleCate(文章分类图片)  
   getImageUrlList:API_HEADER+'/my/getimages',//获取服务器图片
   
}